<!DOCTYPE html ng-app>
<html lang="en" ng-app>
<head>
    <meta charset="UTF-8">
    <title>{{name}}</title>
    <style>

    </style>
    <script src="angular.min.js"></script>
</head>
<body>

<input type="text"  ng-model="name">
<div>
    我的名字叫：{{name}}
</div>
<div style="height: 200px;background-color:{{name}};">

</div>
</body>
<script>

</script>
</html>